﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Limpio.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <form id="form1" runat="server">

    <h2>Index</h2>

    primera prueba conectado al servidor de informes SERVFONCREAGRO

    
    <iframe id="Frame1" src="<%= Session["Url"] %>" width="100%" height="500" frameborder="0"></iframe>
<%--    <script type="text/jscript">
 function OpenReports(name) {
            var width = (screen.availWidth).toString();
            var height = (screen.availHeight).toString();
            window.open('/Reporting/form1.aspx?ReportName=' + name,
                 'mywindow', 'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=yes,status=no,' +
                'menubar=no,scrollbars=yes,copyhistory=yes,resizable=yes' + ',screenX=0,screenY=0,left=0,top=0');

        }
        </script>--%>
    </form>

</asp:Content>
